﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MyCube : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Debug.Log("sunyin");
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetMouseButton(0))
        {
            this.transform.Rotate(new Vector3(0, 1, 0),5f);
        }
    }
}
